package com.archerdu.apply.service.impl;

import com.archerdu.apply.dao.RoleDAO;
import com.archerdu.apply.model.Role;
import com.archerdu.apply.service.RoleManager;
import com.archerdu.base.dao.IBaseDao;
import com.archerdu.base.service.BaseManager;

public class RoleManagerImpl
        extends BaseManager<Role, Integer>
        implements RoleManager {
    
    private static final long serialVersionUID = 9163067090144196614L;
    
    private RoleDAO           roleDao;
    
    public RoleDAO getRoleDao() {
        return roleDao;
    }
    
    public void setRoleDao(RoleDAO roleDao) {
        this.roleDao = roleDao;
    }
    
    @Override
    protected IBaseDao<Role, Integer> getDao() {
        return (IBaseDao<Role, Integer>) roleDao;
    }
    
}
